package com.teacher.hong.entity;

import lombok.Data;

/**
 * 班级类
 */
@Data
public class Clazz {

    private Integer id;
    private String name;

    public Clazz() {
    }

    public Clazz(String name) {
        this.name = name;
    }

    public Clazz(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "id=" + id +" name=" + name;
    }
}
